package com.xyoto.community.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 新增动态点赞
 */
@ApiModel("新增动态点赞DTO")
@Data
public class SaveDynamicLoveDTO {

    @ApiModelProperty("动态id")
    @Min(value = 1,message = "动态id最小值为1")
    @NotNull(message = "动态id不可为空")
    private Integer dynamicId;
}
